package com.umeng.update;

import com.umeng.common.net.t;
import org.json.JSONObject;

public class UpdateResponse extends t
{
  public boolean hasUpdate = false;
  public String path;
  public String updateLog = null;
  public String version = null;

  public UpdateResponse(JSONObject paramJSONObject)
  {
    super(paramJSONObject);
    try
    {
      if (!(paramJSONObject.has("update")))
        return;
      if (paramJSONObject.getString("update").toLowerCase().equals("no"))
        return;
      this.updateLog = paramJSONObject.getString("update_log");
      this.version = paramJSONObject.getString("version");
      this.path = paramJSONObject.getString("path");
      this.hasUpdate = true;
      return;
    }
    catch (Exception localException)
    {
    }
  }
}

/* Location:           H:\360云盘\lewa_explorer_3.0\bin\FileApp_orig_dex2jar.jar
 * Qualified Name:     com.umeng.update.UpdateResponse
 * JD-Core Version:    0.5.2
 */